﻿
 
 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		
		<title>jb-aptech毕业设计项目</TITLE>
<meta name="renderer" content="ie-comp">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link href="../../css/style.css" rel="stylesheet" type="text/css">
		<script src="script/common.js"></script>
		<script src="html/script/validate.js"></script>
	</head>
  	<script type="text/javascript">
  		function mySearch(){
			var arrName=new Array();
				arrName[0]="roleName";
				checkWay(arrName);
				document.sysRoleForm.submit();
		}
  	</script>
  <body>
    <div class="page_title">
		权限管理 > 角色管理 > 分配权限 
	</div>
	<form name="sysRoleForm" method="post" action="/CRM/sysRole.do">
		<input type="hidden" name="method" value="toDispatchRight">
			<div class="button_bar">
				<button class="common_button" onclick="help('');">
					帮助
				</button>
				<button class="common_button" onclick="back();">
					返回
				</button>
				<button class="common_button" onclick="mySearch();">
					查询
				</button>
			</div>
			<table class="query_form_table">
				<tr>
					<th>
						角色名
					</th>
					<td>
						<input type="text" name="sysRole.roleName" size="20" value="" id="roleName">
					</td>
					<th>角色描述</th>
					<td>
						<input type="text" name="sysRole.roleDesc" size="20" value="">
					</td>
					<th>
						是否禁用
					</th>
					<td>
						<select name="sysRole.roleFlag"><option value="0">全部</option>
							<option value="1">正常</option>
							<option value="2">禁用</option></select>
					</td>
				</tr>
			</table>
			<br />
			<table class="data_list_table">
				<tr>
					<th>
						编号
					</th>
					<th>
						角色名
					</th>
					<th>
						角色描述
					</th>
					<th>
						状态
					</th>
					<th>
						操作
					</th>
				</tr>
				
					<tr>
						<td class="list_data_text">
							1
						</td>
						<td class="list_data_text">
							管理员
						</td>
						<td>
							所有拥有权限
						</td>
						<td class="list_data_text">
							
	   					正常
	   				
							
						</td>
						<td class="list_data_op">
							<button onclick="to('sysRole.do?method=toDispatchRoleRight&roleId=1')">分配权限</button>
						</td>
					</tr>
				
					<tr>
						<td class="list_data_text">
							3
						</td>
						<td class="list_data_text">
							销售主管
						</td>
						<td>
							部分权限
						</td>
						<td class="list_data_text">
							
	   					正常
	   				
							
						</td>
						<td class="list_data_op">
							<button onclick="to('sysRole.do?method=toDispatchRoleRight&roleId=3')">分配权限</button>
						</td>
					</tr>
				
					<tr>
						<td class="list_data_text">
							4
						</td>
						<td class="list_data_text">
							客户经理
						</td>
						<td>
							部分权限
						</td>
						<td class="list_data_text">
							
	   					正常
	   				
							
						</td>
						<td class="list_data_op">
							<button onclick="to('sysRole.do?method=toDispatchRoleRight&roleId=4')">分配权限</button>
						</td>
					</tr>
				
					<tr>
						<td class="list_data_text">
							5
						</td>
						<td class="list_data_text">
							高管
						</td>
						<td>
							部分权限
						</td>
						<td class="list_data_text">
							
	   					正常
	   				
							
						</td>
						<td class="list_data_op">
							<button onclick="to('sysRole.do?method=toDispatchRoleRight&roleId=5')">分配权限</button>
						</td>
					</tr>
				
					<tr>
						<td class="list_data_text">
							9
						</td>
						<td class="list_data_text">
							销售员
						</td>
						<td>
							销售产品人员
						</td>
						<td class="list_data_text">
							
	   					正常
	   				
							
						</td>
						<td class="list_data_op">
							<button onclick="to('sysRole.do?method=toDispatchRoleRight&roleId=9')">分配权限</button>
						</td>
					</tr>
				
				<tr>
					<th colspan="7" class="pager">
<div>
	每页5条记录&nbsp;共6条记录&nbsp;&nbsp;第1页&nbsp;&nbsp;共2页&nbsp;&nbsp;<a disabled>首页</a><a  disabled>上一页</a><a  href="javaScript:window.location='?curpage=2&pageNum=5&method=toDispatchRight&roleId=3'">下一页</a><a href="javaScript:window.location='?curpage=2&pageNum=5&method=toDispatchRight&roleId=3'">尾页</a>&nbsp;&nbsp;&nbsp;&nbsp;转到：<select id='_gotoPageCount' onchange="window.location='?curpage='+this.value+'&pageNum=5&method=toDispatchRight&roleId=3'"><option  selected  value=1 >第1页</option>
<option  value=2 >第2页</option>
</select>&nbsp;&nbsp;&nbsp;&nbsp;<select onchange="window.location='?pageNum='+this.value+'&method=toDispatchRight&roleId=3'">
<option  value=6 >每页6条记录</option>
<option  value=12 >每页12条记录</option>
<option  value=18 >每页18条记录</option>
<option  value=24 >每页24条记录</option>
<option  value=30 >每页30条记录</option>
</select>
</div>
					</th>
				</tr>
			</table>
	</form>
  </body>
</html>

